import { NestMiddleware } from "@nestjs/common";
import { NextFunction,Request,Response } from "express";

export class LoggerMiddleware implements NestMiddleware{
    use(req: Request, res:Response, next:NextFunction){
        console.log('请求开始',res,req);
        next();
    }
}